<!-- 公司管理|edit:编辑,delete:删除,add:添加,forbidden:禁用,startusing:启用 -->
<div>
    <!-- 搜索框 -->
    <div class="am-u-sm-12 cl-p">
        <div style="padding-top: 15px;">
            <form class="layui-form" action="">
                <input type="hidden" name="op" value="{$Think.get.op}">
                <div class="layui-form-item ">
                    <div class="layui-input-inline" id='sel-car'>
                        <input type="text" name="company_name" placeholder="公司名称" autocomplete="off" class="layui-input" value="{$Think.get.company_name}">
                    </div>
                    <div class="layui-input-inline" id=''>
                        <select name="company_mode" id="">
                            <option value="">公司类型</option>
                            <option {$Think.get.company_mode==1? selected: ''} value="1">单位</option>
                            <option {$Think.get.company_mode==2? selected: ''} value="2">服务公司</option>
                        </select>
                    </div>
                    <div class="layui-input-inline">
                        <select name="prop" lay-verify="required" lay-search="">
                            <option {$Think.get.prop? '':selected} value="">单位性质-全部</option>
                            <option {$Think.get.prop==1? selected: ''} value="1">政府机关单位</option>
                            <option {$Think.get.prop==11? selected: ''} value="11">政府机关单位-市直</option>
                            <option {$Think.get.prop==12? selected: ''} value="12">政府机关单位-乡镇</option>
                            <option {$Think.get.prop==13? selected: ''} value="13">政府机关单位-四办</option>
                            <option {$Think.get.prop==2? selected: ''} value="2">事业单位</option>
                            <option {$Think.get.prop==3? selected: ''} value="3">国营单位</option>
                            <option {$Think.get.prop==4? selected: ''} value="4">民营企业</option>
                            <option {$Think.get.prop==5? selected: ''} value="5">公检法</option>
                        </select>
                    </div>
                    <button class="layui-btn layui-btn-normal">
                        <span>查询</span>
                        <i class="layui-icon layui-icon-search" style="padding-left:2px;"></i>
                    </button>
                </div>
            </form>
        </div>
        <div>
            <div class="layui-btn-group" style="width: 100%;">
                <button class="layui-btn layui-btn-sm layui-btn-primary" id="add" data-btn="add">
                    <i class="layui-icon">&#xe654;</i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm delete-multiple" data-btn="delete">
                    <!-- <i class="layui-icon">&#xe642;</i> -->
                    <i class="layui-icon">&#xe640;</i>
                </button>
                <!-- <button class="layui-btn layui-btn-sm layui-btn-primary" style="float: right;border-left: 1px solid #c9c9c9;">
                导出数据
            </button> -->
            </div>
        </div>
        <!-- 表单 -->
        <div class="table_margin_0">
            <table class="layui-hide" id="company" lay-filter="company"></table>
        </div>
        <!-- 分页 -->
        <div id="page"></div>
    </div>

</div>

    <!-- 表单 -->
    <div class="table_margin_0">
        <table class="layui-hide" id="LAY_table_user" lay-filter="company"></table>
    </div>
    <!-- 分页 -->
    <div id="page"></div>
    </div>
    <script type="text/html" id="operation1" >
        <button class="layui-btn layui-btn-xs" lay-event="choose">选中</button>  
    </script>
    <script type="text/html" id="operation">
        <button class="layui-btn layui-btn-orange layui-btn-xs" lay-event="forbidden" data-btn="forbidden">禁用</button>
        <button class="layui-btn layui-btn-xs layui-btn-orange" lay-event="startusing" data-btn="startusing">启用</button>
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" data-btn='edit'>编辑</button>
        <button class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" data-btn='delete'>删除</button>
</script>
<script type="text/html" id="detail">
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail" class="detail" data-btn='detail'>详情</a>
 </script>
<script type="text/html" id="service_type">
        {{# if(d.service_type == 1 ){ }} 维修 {{# } else { }} 保养 {{# } }}
    </script>
<script type="text/html" id="remind">
        {{# if(d.remind ==null){ }} 无提醒信息 {{# } else { }} 无提醒信息 {{# } }}
</script>